package com.ruoyi.experiment.mapper;

import com.ruoyi.experiment.domain.SampleMailing;
import java.util.List;

/**
 * 样品邮寄Mapper接口
 *
 * @author ruoyi
 * @date 2024-06-07
 */
public interface SampleMailingMapper
{
    /**
     * 查询样品邮寄
     *
     * @param mailingId 样品邮寄主键
     * @return 样品邮寄
     */
    public SampleMailing selectSampleMailingByMailingId(Long mailingId);

    /**
     * 查询样品邮寄列表
     *
     * @param sampleMailing 样品邮寄
     * @return 样品邮寄集合
     */
    public List<SampleMailing> selectSampleMailingList(SampleMailing sampleMailing);

    /**
     * 新增样品邮寄
     *
     * @param sampleMailing 样品邮寄
     * @return 结果
     */
    public int insertSampleMailing(SampleMailing sampleMailing);

    /**
     * 修改样品邮寄
     *
     * @param sampleMailing 样品邮寄
     * @return 结果
     */
    public int updateSampleMailing(SampleMailing sampleMailing);

    /**
     * 删除样品邮寄
     *
     * @param mailingId 样品邮寄主键
     * @return 结果
     */
    public int deleteSampleMailingByMailingId(Long mailingId);

    /**
     * 批量删除样品邮寄
     *
     * @param mailingIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSampleMailingByMailingIds(Long[] mailingIds);
}
